package com.jeesite.modules.dataScreen.service;

import com.jeesite.modules.dataScreen.enums.DataTypeEnum;
import com.jeesite.modules.dataScreen.web.vo.executelaw.ExecuteLawVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author machenzhi
 * @date 2024/09/09 09:49
 */
@Service
public class ExecuteLawService {

    @Autowired
    private IndustryExecutor industryExecutor;

    public ExecuteLawVO getRealTimeData() {
        ExecuteLawVO executeLawVO = new ExecuteLawVO();
        industryExecutor.execute(executeLawVO, DataTypeEnum.REAL_TIME.getCode());
        return executeLawVO;
    }


}
